package com.example.demomongodb.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @version 1.0.0
 * @className: Student
 * @description:
 * @author: zhangjunfa
 * @date: 2022/11/8 15:56
 */
@Data
@Document("student")
public class Student {
    private String _id;
    private String name;
    private Integer age;
    private Float score;
    private Date createTime;
}
